package cn.rxls.community.mapper;

import cn.rxls.community.entity.User;
import cn.rxls.community.vo.user.UserVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


/**
 * 用户(User)表数据库访问层
 *
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {
    /**
     * 根据openid查询
     * @param openid 微信唯一用户标识
     * @return 用户信息
     */
    UserVO selectByOpenid(@Param("openid") String openid);
}

